package com.roncoo.education.course.feign.interfaces.score.constant;

public class UploadAttachmentCodeConst {
	
	public static int contentSize = 5;	// m（兆）
	
	public static int code_0 = 0;
	public static String code_0_msg = "调用成功";
	
	public static int code_1 = 1;
	public static String code_1_msg = "参数错误：access_token缺失/originId缺失/appid缺失/filename缺失/filename未指定扩展名";
	
	public static int code_2 = 2;
	public static String code_2_msg = "非法操作：密钥错误";
	
	public static int code_3 = 3;
	public static String code_3_msg = "access_token超时";
	
	public static int code_4 = 4;
	public static String code_4_msg = "授权错误：未知分配APPID/分配APPID不匹配";
	
	public static int code_5 = 5;
	public static String code_5_msg = "非法操作：非法的access_token";
	
	public static int code_6 = 6;
	public static String code_6_msg = "非法操作：重复上传实验报告";
	
	public static int code_7 = 7;
	public static String code_7_msg = "非法操作：originId数据不存在";
	
	public static int code_8 = 8;
	public static String code_8_msg = "数据错误：未传输数据/数据大于" + contentSize + "5Mb";	

	public static int code_10 = 10;
	public static String code_10_msg = "文件上传失败，请重试";
	
	public static int code_11 = 11;
	public static String code_11_msg = "非法操作：originId 关联到多条实验成绩信息，无法上传";	
	
	public static int code_999 = 999;
	public static String code_999_msg = "非法请求或系统错误";	
}
